fix the navigation bar didn't show and clean up the config file, thanks Michael