diff --git a/Common/CreateFile.cpp b/Common/CreateFile.cpp
index 7235f67df2a6ee84db30a4be515b1502d301cab0..c83066c564f0990bfe08696055df4c7164c14fcf 100644
--- a/Common/CreateFile.cpp
+++ b/Common/CreateFile.cpp
@@ -460,6 +460,8 @@ void CreateOutputFile(std::string fileName, int format)
         break;
       }
       int numViews = (int)opt_post_nb_views(0, GMSH_GET, 0), numSteps = 0;
+
+      // FIXME: this does not handle empty time steps!
       for(int i = 0; i < numViews; i++){
         if(opt_view_visible(i, GMSH_GET, 0))
           numSteps = std::max(numSteps, (int)opt_view_nb_timestep(i, GMSH_GET, 0));