better formatting of itemTpl statements