replace "link" by "linkAttribute" for some cases