Fix a bug about links