inputfile fix