fix proxy mess