link function do not add @type if a @type is already present