change widget to tvar