Fix the field type