minor ssl cleanup