Changed check of node