fix for dynamicTree ( recursion on addChild )