diff --git a/tac_lite.module b/tac_lite.module
index 52701a1..8fdfdef 100644
--- a/tac_lite.module
+++ b/tac_lite.module
@@ -64,10 +64,11 @@ function tac_lite_menu() {
 
   $schemes = variable_get('tac_lite_schemes', 1);
   for ($i = 1; $i <= $schemes; $i++) {
-    $scheme = variable_get('tac_lite_config_scheme_'. $i, FALSE);
+    $scheme = variable_get('tac_lite_config_scheme_' . $i, FALSE);
     if ($scheme) {
       $title = $scheme['name'];
-    } else {
+    } 
+    else {
       $title = "Scheme $i";
     }
     $items['admin/config/people/tac_lite/scheme_' . $i] = array(
@@ -359,7 +360,7 @@ function tac_lite_user_categories() {
  *   String representing the name of the form itself. Typically this is the name of the function that generated the form.
  *
  */
-function tac_lite_form_alter(&$form, &$form_state, $form_id){
+function tac_lite_form_alter(&$form, &$form_state, $form_id) {
   // Catch for the tac_lite category on the user edit form.
   if ($form_id == 'user_profile_form') {
     if ($form['#user_category'] == 'tac_lite') {
@@ -424,7 +425,7 @@ function tac_lite_form_alter(&$form, &$form_state, $form_id){
  */
 function tac_lite_user_presave(&$edit, $account, $category) {
   // Only proceed if we are in the tac_lite category.
-  if ($category == 'tac_lite'){
+  if ($category == 'tac_lite') {
     // Go through each scheme and copy the form value into the data element
     for ($i = 1; $i <= variable_get('tac_lite_schemes', 1); $i++) {
       $config = _tac_lite_config($i);
@@ -651,7 +652,7 @@ function tac_lite_query_term_access_alter(QueryAlterableInterface $query) {
     // HELP: What is the proper way to find the alias of the primary table here?
     $primary_table = '';
     $t = $query->getTables();
-    foreach($t as $key => $info) {
+    foreach ($t as $key => $info) {
       if (!$info['join type']) {
         $primary_table = $info['alias'];
       }
