fix staticip error