another fix to searching