diff --git a/modules/consent/docs/consent.md b/modules/consent/docs/consent.md
index 10c52015a6e16bd6d93c4e13b539b955353d8936..3725020154b351ccfc569a1391374f8b275d9573 100644
--- a/modules/consent/docs/consent.md
+++ b/modules/consent/docs/consent.md
@@ -103,27 +103,27 @@ and defaults to `consent`.
 
 Example config using PostgreSQL database:
 
-	90 => array(
-		'class'	=> 'consent:Consent', 
-		'store'	=> array(
-			'consent:Database', 
-			'dsn' => 'pgsql:host=sql.example.org;dbname=consent',
-			'username' => 'simplesaml',
-			'password' => 'sdfsdf',
-		),
-	),
+    90 => array(
+        'class'	=> 'consent:Consent', 
+        'store'	=> array(
+            'consent:Database', 
+            'dsn' => 'pgsql:host=sql.example.org;dbname=consent',
+            'username' => 'simplesaml',
+            'password' => 'sdfsdf',
+        ),
+    ),
 
 Example config using MySQL database:
 
-	90 => array(
-		'class'	=> 'consent:Consent', 
-		'store'	=> array(
-			'consent:Database', 
+    90 => array(
+        'class'	=> 'consent:Consent', 
+        'store'	=> array(
+            'consent:Database', 
             'dsn' => 'mysql:host=db.example.org;dbname=simplesaml',
-			'username' => 'simplesaml',
-			'password' => 'sdfsdf',
-		),
-	),
+            'username' => 'simplesaml',
+            'password' => 'sdfsdf',
+        ),
+    ),
 
 
 Options
diff --git a/modules/consent/lib/Auth/Process/Consent.php b/modules/consent/lib/Auth/Process/Consent.php
index e2744aab1d370ed5a3339c842539ea77d9773c8a..7dbacd4a6359f57494cd7d3a79ffcf462cc5a608 100644
--- a/modules/consent/lib/Auth/Process/Consent.php
+++ b/modules/consent/lib/Auth/Process/Consent.php
@@ -318,7 +318,7 @@ class Consent extends \SimpleSAML\Auth\ProcessingFilter
                 $state['consent:store.attributeSet'] = $attributeSet;
             } catch (\Exception $e) {
                 Logger::error('Consent: Error reading from storage: '.$e->getMessage());
-                Logger::stats('Ccnsent failed');
+                Logger::stats('Consent failed');
                 Stats::log('consent:failed', $statsData);
             }
         } else {
diff --git a/modules/consentAdmin/www/consentAdmin.php b/modules/consentAdmin/www/consentAdmin.php
index bebc9ad99a5e0091eeba4e497b8747f58dddfb85..3c13f4335161de5f009dcf4aa457d4f6b2a3c188 100644
--- a/modules/consentAdmin/www/consentAdmin.php
+++ b/modules/consentAdmin/www/consentAdmin.php
@@ -218,6 +218,7 @@ $template_sp_content = array();
 $template = new \SimpleSAML\XHTML\Template($config, 'consentAdmin:consentadmin.php', 'consentAdmin:consentadmin');
 $translator = $template->getTranslator();
 $translator->includeLanguageFile('attributes'); // attribute listings translated by this dictionary
+
 $sp_empty_description = $translator->getTag('sp_empty_description');
 
 // Process consents for all SP