add a preference to display only hostnames