main menu bug fix