ebtree bugfix