added remove attachments