add the function omit_sapces under preprocess