test preprocessing script
bug fix in preprocess