fixed regression in search