fix create custom field issue