enhance search result. fix timing bug in searchbox.