attachments - patch to move display func
attachments - move display func