Make correction to enumerator in for loop