max num check.