Fix a Bug in function visitorIp()