elasticsearch result fix