Fix bug where attrib not added to property