Fixed server crash.