fix bug with import of top level menus