region labeling search bug