fix inet operation bug