fixed the run numbers in output files