fix bug
refine printing format