Fixing the whois funcion