fix proxy error
Merge pull request #280 from andymckay/fix-proxy

fix proxy error