fix proxy connection