fixed some live search bugs
fix live search bugs