fix memory leak
fix memory leak pt2 (widgetlist)