fixed wrong statistics