Fixed adding of widgets