fix proxy stuff