fixed issues with creating DAG input