fix the formate error