fixed errors with the classes in nav bar