Fixed a server crash.