output file name fix