Fix some loops.