added changes to reflect newest superwidget version