fixes template rendition