more MD fixes