fix some SSL problems and the background