Fixed uninitialized variable warning