fix ts te if single digit