remove menu items when menus are destroyed