fix settings.db non-windows