harmonize with dmc++ back end
Merge pull request #3614 from WalterBright/harmonize

harmonize with dmc++ back end