fixed $nodetool scoping issue