plot alg wrong