diff --git a/entity_panels.module b/entity_panels.module
index 7b95ac0..ebd6a4d 100644
--- a/entity_panels.module
+++ b/entity_panels.module
@@ -129,6 +129,9 @@ function entity_panels_entity_view_alter(&$build, $entity_type) {
     if (empty($output)) {
       return;
     }
+    elseif (is_int($output)) {
+      drupal_deliver_page($output);
+    }
   }
   else {
     if (empty($output['content'])) {
