finalize after load local setting.