Fixed bugs related with add Hosst