fix bug,ip doesn't exist