Fixed uninitialized variable warnings