fixed a bug TextDBDict.writeTextDBDictInto