fixed console output of template on initial render