Bug fix in DMD physical setup