Fix fetchLinks