Node constructor fixed

The node constructor contained information that was not known when
creating the node. This has now been fixed.