fix settings dialog