fixed ssl failure