fixes torn numbers, solutions now ok with leading zeros