fix bug at helper when host is an ip addr