bug fix finished dependentbatch