revert route forward in rewrite