Fix proxyip code