fixes for widget