fix ; check maxNum before calling getCpuidEx