fix http redirect and change ion-beta hostname