rewrite_content