Fix link bugs.