deal with host_id