fix EsConnectionSpec