fixed bug that could cause a missing batch.1