fixed more bugs in DataTree module