fix data type issue.