fix host bug.