Fix default algorithm