fall back to item value if value of attribute is null