fix savefile