fixing nav directive