A work version for data preprocess.