fix referenced images