bug with main menu