fixed Dtree compile