fixing a save issue