fix unpack path and plugin number issue