Fixed SSL issue