handle short input in the digits