Fix for loop.