Fixed SSL error (sort of)