check cur_ip