fixed batch in retriever