Fix error with nav bar