rewrite in-app navigation