rewrite field definition