fixes small widget bug