fix ssl conn issue