Bugfix for server.