fixed preferencesDialog bug