about text rewrite