fixed small number output bug