Fixing links to references