bugfix for excess prefs panes