fixed bug of display format