fix the node setter in ImmutableTree