rewrite nav