fixed nav bar bug