Widget error fixed