Fixed uninitialized variables