fixed get node functionality