fix paths in preprocess