removes attrParts for #1011