host IP bug fix