fix bug in visualsearch
remove log