preprocess fix