Fixed uninitialized variable error.