fixing search display error