fixing elasticsearch