fixed bug with duplicate attachments