fix bug of jqwidget