dms modality fixes