fixing "preview" template.