fixing MD