Fixed statistics-related errors