bugfix on widget