adjusted widget to strip long var name