Fix preprocess initialization