correct the printing format