fix for logical CPUs