Correct iteration variable