fix some bugs
Add Global Search

fix some bugs