Fix a crash.