trying to fix ssl errors