fixed bug with book searching