md cleanup