fix some https issue