fix send with attachments