fixed useSSL error