fixed template pages by deleting extraneous space