fix #392 - improve D and dd actions