Fix server startup crash