fix loadNode condition to reload the tree