rewrite prefix