fix for custom field