correct some format errors