fixed export of books