correct the error of data