moved batchquery under items