fix affiliate call to hosted gw