widget bug fix