fixing ssl issue