Update widget.lua

Prevents a stupid error from happening