Fix loading local setting