a little change
fix a search mode return bug