fix to rouge input file creation