BOOK-424 remove debug code