Fixed a server bug