fixed adding attributes in bulk