rewriting nav