change alg references