fix error in field type