fix statistics