fix bugs with nav bar code