fixed counter creator bug