fixed if False in widget.py, thanks Niphlod