added case for namedoperator is a node
added case for namedoperator is a node