modify preprocess