fix the bug of search and ip4 resolution problem.