fixed random crash in settings pane