main menu rectification