bugfixes to the Node object