fix bug create widget
merge fix bug