fixes mds references