Fixed main menu error