remove dead code, overflow counters static