Fixed host name extraction