bugfixes in batch request handling