Fix field type