Attempt to fix null pointer.