usign helper to clean the code
fixed the widget