trying to fix ssl error