fix check counter