fixed a typo in the registering of a custom field type