fixed dag
Merge pull request #836 from tonyrd/development

fixed dag