Fix use of numCPU variable