fixed the attachements