minor changes in search