CLean up md