template preprocess