Fixed the REST server.