fix statistics display after api change