output file name corrected