remove mistakes from saved version of file