fix cpuid bug: query cpu core number