Fix a startup crash.