make api a bit more succesful and reset ip to the original default