cleaned up some dags in the templates