fixes a bug when using the link.href and link.title wildcards