fix SSL issue