fixed elasticsearch