replace batch with pend, as intended from upstream