fix JSON in currentIterationCount