fix origlink, now sets link