fix for detecting node.