diff --git a/src/output/output.cpp b/src/output/output.cpp
index 170375e5..681f21ef 100644
--- a/src/output/output.cpp
+++ b/src/output/output.cpp
@@ -626,6 +626,9 @@ namespace Mist {
   }
 
   void Output::stats(){
+    if (!isInitialized){
+      return;
+    }
     if (statsPage.getData()){
       unsigned long long int now = Util::epoch();
       if (now != lastStats){