fixed template output to show upper case