Fix can't get host name from argument.