Second for loop fixer

Signed-off-by: Ralf Koller <r.koller@gmail.com>