delete self. in proxy.py