- fix uninitialized var error