fix ssl incompatibility