fixed host bug