fixes. added proper HTML headers to templates.