break if search key isn't found