fixed nav bar error