fixed counter for end of game