Small bug fix to server.