fix monitor batch bug