fix field type