fixing search match