some fixes for cpuid