diff --git page.tpl.php page.tpl.php
index 81ec04f..bfcbded 100644
--- page.tpl.php
+++ page.tpl.php
@@ -146,7 +146,7 @@
 
   </div> <!--/#page -->
 
-  <?php if ($closure_region): ?>
+  <?php if (!empty($closure_region)): ?>
     <div id="closure-blocks" class="region region-closure">
       <?php print $closure_region; ?>
     </div>
@@ -155,4 +155,4 @@
   <?php print $closure; ?>
 
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git template.php template.php
index e123d52..bc136b3 100644
--- template.php
+++ template.php
@@ -180,7 +180,7 @@ function pixture_reloaded_preprocess_node(&$vars, $hook) {
       // Node is displayed as teaser
       $node_classes[] = 'node-teaser';
     }
-    if ($vars['$is_front']) {
+    if (isset($vars['$is_front'])) {
       // Node is displayed on the front page
       $node_classes[] = 'front-node';
     }
@@ -281,4 +281,4 @@ function pixture_reloaded_id_safe($string) {
     $string = 'n'. $string;
   }
   return strtolower(preg_replace('/[^a-zA-Z0-9-]+/', '-', $string));
-}
\ No newline at end of file
+}
