fix the dig's count when greater than 10