Fixed uninitialized var