fixed problem with nav bar