changes for testing preservering common templates across pages