Deleted parallel_map.
Added ckecking of duplicated host.