Bug fix to nav bar