Bug with counter.