fixed behaviour of menus so no 2 menus are dropped