fixed bug in printStat + remocing redundant parameers in node const