Host array error in delete_hosts