fixed main menu issue