adapt to new ojwidgets