fix apihost