added to widget_init hook