Use correct field for attribute value