Fixed uninitialized variable access