fixed issue with the nav bar