[Bug] - For Loop

The for loop section is put in the wrong position