fix wrong counters, works