fix many more uninitialized variables