Fix loop syntax for dwoo