Add some corrections to input file