fix: wrapAttr needed to use object def syntax