debug: now widget_name is asked only if defined