correct dmd in header