fix broken links to function defs