fix some format problem