Fix the counter.