fix 404 and link errors