Fixed exceptions on main menu