Fix algorithm keys