number of cpus problem fixed?

works on Mac OS X