change getNodeForUrl url where condition