fix InputFormat