Better way to pass widget_id to filters