Fixed uninitialized value warnings.