batch-bugfix