fixed setCurrentPageActiveInMainMenu()