correct the enhanced for loop

....