fixing attachments