Fixed crash upon starting server