修改rewrite