Remove unnecessary pages and fix main menu