Fix for loops.