Make fixlink a function