Fix attributePool bug