fixed printing of %#H hosts