fix enquire for Batch id , pi id.