race on .counter
fix index