corrects the main menu loop after saving