fix bug empty ip address