* fix bugs in batch call protocol