fixed a nav bug