repair links to source