fixing bst subtree