Fixed uninitialized value error.