Corrected some of the errors in the proxy