fix walkNodeTree