attempt to 'fix' ssl errors