Fixed a bug in Links