counters and calc fix