fix cannot set cpu number issue