Fix attachments error messages.