fix elasticsearch for heroku