Fixed using client method on the server.