Update widget.lua

Prevented a stupid error from happening