Removing cruft in counter.