fix menus to show on proper pages