Fix https bug.