fixes for preference dialogs