fixed tree.remove and tree.getNode function.