bugfix: redundant check for node.