correct the file