correct output file name