Fixing use of uninitialized variables.