Fixing uninitialized variables.