attempt to fix SSL not trusted crashes