diff --git a/src/outputByOrbit.cc b/src/outputByOrbit.cc
index bbbf32be866943b6787471569c24f23a3a197e72..9f2736362c89c705cc961469be5b137cb8192832 100644
--- a/src/outputByOrbit.cc
+++ b/src/outputByOrbit.cc
@@ -44,7 +44,7 @@ OutputByOrbitStream::OutputByOrbitStream( const std::string output_filename_base
   current_file_size(0),
   file_count(-1),
   control(c),
-  current_run_number(-1),
+  current_run_number(0),
   conf(conf_),
   fixedOrbitsPerFile(bool(conf.getNOrbitsPerFile())),
   outFile()
@@ -59,6 +59,7 @@ OutputByOrbitStream::OutputByOrbitStream( const std::string output_filename_base
 void* OutputByOrbitStream::OutputFixedOrbits( Slice& out ) {
 
   uint32_t orbitN = out.get_firstOrbitN();   
+  //std::cout << orbitN << std::endl;
   uint32_t new_index = uint32_t(orbitN/conf.getNOrbitsPerFile());
   size_t n = 0;
   bool already_opened=false;