Fix the link bugs.