fix all links to other files