Fix proxy ip address bug