a small bug of statistics fixed