Output file name fix