fix bug: get host ip