fix bug of auto change ip