improve fix of issue 12860 for ddmd