fix for hostname output