adding search overlay, fixing search bug