Attempt to fix null error.