fix proxy for python3