fixed mistake in remove method of WidgetList