Fixed a bug on themplates: variable|upper should be without blank spaces