Fix the save as bug