Fixed uninitialized value usage
Removed dead code
Fixed uninitialized fields
Fixed uninitialized fields