fix number too large bug