minor fixes to DME.