fix incorrect references to menus