fix ip problems with file