corrected cd, added get node from path