fix cores number.

M