change case in templates