another search bugfix