api host fix