Fix statistics #172