fixing redirect for http forwarding header