Fix a bug on link.