removed bad code for nav bar