Fix core count