fixes statistics