removal of attachments - WIP