fix bugs of text search
fix bugs of text search