fixed http forwarding bug.