bugfix of menu selection.