(*)fixed get remote host name