fix output file name