fixing bugs in subtree method