fix host bug