Fixed typo in an alg