fix some format bug