batch processing fixed