attachments patch fix