attachments new record fix