debugged some of the proxy client