fix batch feed bug