Fixed server crash on start.