fixing MD.