made a minor fix to one of the widget examples