fixed error with nav bar