hide main menu through config