small fix for widget