fixLinkparams