changed uri to iri in attachment