new ssl code fix