rewrite field template