bug fix for dataformat UT
Merge pull request #1386 from huili2/UT_bugfix_dataformat

bug fix for dataformat UT