patches and fixes for search books