Fixed elasticsearch installation bug