Cleaning up statistics