only activate top level menus
remove unused links