remove processAttachment flag