fixed nav display bug