fix linked files