cpu count fix