fixing mds