https connection fix