fix bug of current selected menu item