cleaning, md_last as opt