fix proxy errors
fix proxy bugs