fix counter stuff again