fix for md