remove all mt ds and algs.