fix dependency wait problems
fix DMExec.dependency()