Fixed the templating rendering