proxy redirect fix