fixed uninit var bug