Fix bug of not showing ip addr