modfiy dag-parallel