Fixed crash on server startup (closes #185)

Fixed crash on server startup (closes #185)