fix for input file