fix field type issue