fixing widget bug missing closing bracket and ;