fix ip issue