search not wrap around