diff --git a/validate.js b/validate.js
index <HASH>..<HASH> 100644
--- a/validate.js
+++ b/validate.js
@@ -180,7 +180,7 @@ function checkSubSchema(schema, parent, state) {
     }
     if (schema.patternProperties) {
         schema.patternProperties.should.be.an.Object();
-        for (let prop in schema.pattenProperties) {
+        for (let prop in schema.patternProperties) {
             try {
                 let regex = new RegExp(prop);
             }
diff --git a/walkSchema.js b/walkSchema.js
index <HASH>..<HASH> 100644
--- a/walkSchema.js
+++ b/walkSchema.js
@@ -47,7 +47,7 @@ function walkSchema(schema, parent, state, callback) {
         }
     }
     if (schema.patternProperties) {
-        for (let prop in schema.pattenProperties) {
+        for (let prop in schema.patternProperties) {
             let subSchema = schema.patternProperties[prop];
             state.property = 'patternProperties/'+prop;
             walkSchema(subSchema,schema,state,callback);
Typo pattenProperties for patternProperties (twice!)