Fixed bug with server.