fix stats dict