errors corrected in baseNode and pathNode