fixes for widgets in panels