fix for dms