Fix attachments for tasks