fixed display issue with random numbers