fixed bug in batch module, if server responded an error deserialization failed