Fix bug for mergeData.js.