Fix elasticsearch.yml mode