"fixed" a bug with multiple attachments.