fixing nav errors