remove CRF templates and preprocess