avoid uninit var warning