l2 page preprocess