Loop correction