fixed strange error with ssl verifying