fixing page template