repair the templates site