more bad MD fixes