fixed StopIteration bug when charting io_counters