Fix counter.