fix and update page template layout.