search bugfix