rewrite middleware