fixed elasticsearch config error