Fixed output of error while iteration.Fixed iterations stat