fixed accidental redefining of 'node' var