fixed nav bug