Fix the case of multiple digits
close #3