added URI fixes to attachements file