fixed ip_usage()