filtering occurences in widget_text