preprocess illegal directive fix