tamplate var to lowercase