Fix attachments field