fix extent search bug