fix several broken links and missing files