input file custom fix