fix proxy used