widget tpl fix