fixing ssl issues