fix filtering for book