fixed statisticserror