fixing https in URI