fix attach_exportinfo