output file nmber fixes