fix LinksController