get number length bug corrected