Fix loop.