Fix settings loading.