get by custom field value fix
fixes in custom fields functions
fixes