fix continue in for loops