fix ip get bug