fixing bug, adjusting statistic module