better get_ip