change navbar to genernal use