fix regression in custom field behavior