fix input filename