fixed the wrong core count bug