bug fix: search doesn't work