Index: trunk/FACT++/src/smartfact.cc
===================================================================
--- trunk/FACT++/src/smartfact.cc	(revision 17368)
+++ trunk/FACT++/src/smartfact.cc	(revision 17369)
@@ -1814,5 +1814,5 @@
 
         out << HTML::kWhite << '\t' << nema.count << '\n';
-        out << HTML::kWhite << '\t' << Time(nema.time).GetAsStr("%H:%M:%S") << '\n';
+        out << HTML::kWhite << '\t' << Time(floor(Time().Mjd())+nema.time).GetAsStr("%H:%M:%S") << '\n';
         out << HTML::kWhite << '\t' << setprecision(4) << nema.lat    << '\n';
         out << HTML::kWhite << '\t' << setprecision(4) << nema.lng    << '\n';
@@ -1855,10 +1855,7 @@
         ofstream(fPath+"/temperature.data") << out.str();
 
-        if (!fTemperatureControlHist.empty())
-        {
-            fTemperatureControlHist.push_back(temp[0]);
-            if (fTemperatureControlHist.size()>60) // 1h
-                fTemperatureControlHist.pop_front();
-        }
+        fTemperatureControlHist.push_back(temp[0]);
+        if (fTemperatureControlHist.size()>60) // 1h
+            fTemperatureControlHist.pop_front();
 
         WriteHist(d, "hist-temperaturecontrol",
