fix proxy set bug