searching bugfix