fix ssl warning