fix typo in the previous commit in widgets.py