SSL Switch fix