fix https problem