Fixed stack() not working with 2 clients.