fix sub-menus visibility