enable "replace attribs" by default