Alias-Host mapping code fix