task statistic bug fix