correct input handling on menus