Statistic class errors fixed.