fix ip confusion