fix bug: str ip to int ip