fix issue with menu and active_pages