fix data file init bug