suppress sprurious error logging and uninit var warning