Fix a startup bug