Changed the Node check