diff --git a/pom.xml b/pom.xml
index 1cd7128..7f6a707 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
org.sadtech.autoresponder
autoresponder
- 1.9-RELEASE
+ 1.9.1-RELEASE
jar
Abstract Autoresponder
diff --git a/src/main/java/org/sadtech/autoresponder/entity/Unit.java b/src/main/java/org/sadtech/autoresponder/entity/Unit.java
index 34f3788..3d9f84a 100644
--- a/src/main/java/org/sadtech/autoresponder/entity/Unit.java
+++ b/src/main/java/org/sadtech/autoresponder/entity/Unit.java
@@ -48,7 +48,7 @@ public abstract class Unit {
this.phrase = phrase;
this.pattern = pattern;
this.matchThreshold = matchThreshold == null ? 10 : matchThreshold;
- this.priority = priority == null ? 10 : matchThreshold;
+ this.priority = priority == null ? 10 : priority;
this.nextUnits = nextUnits;
}