fixing 404s in links