fix a ssl issue