fixed the book search bug, mentioned by alexey.