Fix uninitialized variables