fix bug in showBatchContent.