fixed invalid option loop on main menu