some clean up after new inputfile