fix delete all attachments