fix some format errors