Limit max num

Limit max num