fix proxy issues