attachments fix