Fix the region search problem