Bug fix for widget tab