change mmd to md