workaround for the TLS 1.2 problem