merged with attribute_merge