clean up the counters