copyNode fix