Fix server crash.