fixing some issues with nav bar