minor change

change alg