fixed custom field creation