- fixed deletion of attachments