Fix formats of Templates