Fix elasticsearch