fix broken links
rewrites and fixes