fix referenced files